#include "HookEngine.h"
#include "HookSettingEntry.h"

#pragma once

class HookSettingReader
{
private:
	const static DWORD MaxHookSettingEntryCount=100;

	DWORD m_dwHookSettingEntryCount;
	HookSettingEntry m_HookSettingEntryArray[MaxHookSettingEntryCount];

	WCHAR m_szHookSettingFilePath[MAX_PATH];

	auto_ptr<HookEngine> m_pHookEngine;

	BOOL Read();
public:
	HookSettingReader(PWSTR pszHookSettingFilePath);

	BOOL StartHook();
	void StopHook();
};